<?php /* Smarty version Smarty-3.1.13, created on 2013-12-17 23:53:59
         compiled from "G:\phpserver\ibo123\templates\admin\tags\tags.tpl" */ ?>
<?php /*%%SmartyHeaderCode:323585294ab157b7516-70548982%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '278ec1949e8df04fa5bf5b3270a74c7c282abea6' => 
    array (
      0 => 'G:\\phpserver\\ibo123\\templates\\admin\\tags\\tags.tpl',
      1 => 1387295636,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '323585294ab157b7516-70548982',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_5294ab15a3ac14_06979798',
  'variables' => 
  array (
    'admin_action_alert' => 0,
    'admin_quick_note' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5294ab15a3ac14_06979798')) {function content_5294ab15a3ac14_06979798($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("admin/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("admin/navibar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("admin/sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<link href="<?php echo @constant('WEBSITE_URL');?>
public/assets/pagedown/demo.css" rel="stylesheet">
<script type="text/javascript" src="<?php echo @constant('WEBSITE_URL');?>
public/assets/pagedown/Markdown.Converter.js"></script>
<script type="text/javascript" src="<?php echo @constant('WEBSITE_URL');?>
public/assets/pagedown/Markdown.Sanitizer.js"></script>
<script type="text/javascript" src="<?php echo @constant('WEBSITE_URL');?>
public/assets/pagedown/Markdown.Editor.js"></script>
<script type="text/javascript"	src="<?php echo @constant('WEBSITE_URL');?>
public/assets/lib/ajaxupload.js"></script>

<div class="content">

    <div class="header">
        <div class="stats">
            <p class="stat"><!--span class="number"></span--></p>
        </div>
        <h1 class="page-title">管理文章标签 </h1>
    </div>

    <div class="container-fluid">
        <div class="row-fluid">
            <div class="bb-alert alert alert-info" style="display: none;">
                <span>操作成功</span>
            </div>

            <?php echo $_smarty_tpl->tpl_vars['admin_action_alert']->value;?>

            <?php echo $_smarty_tpl->tpl_vars['admin_quick_note']->value;?>


            <div id="myTabContent" class="tab-content">
                <!-- 实际写文章内容的布局开始 -->
                <div class="row-fluid">
                    <div class="alert alert-success span9" id="p_tip">
                        <button type="button" class="close" data-dismiss="alert">&times;</button>
                        <p><strong>提示!</strong>删除标签时，标签与文章的关联也将会被删除！</p>
                    </div>
                    <div class="container-fluid">
                        <div class="span4 breadcrumb">
                            <label>标签名称</label>
                            <input type="text" id="tag_name" placeholder="标签名称">

                            <label class="textarea">描述信息</label>
                            <textarea rows="3" id="tag_desc"></textarea>
                            <label class="button"> <button type="button" class="btn" id="addbtn">新增标签</button> </label>

                        </div>
                        <div class="span8   ">

                            <div class="breadcrumb">
                                <form class="form-search">
                                    <input type="text" class="input-medium search-query" id="find_txt">
                                    <button type="button" class="btn" id="find_btn">搜索标签</button>
                                </form>

                            </div>
                            <div class="p">
                                <table id="list2"></table>
                                <div id="pager2"></div>
                            </div>


                        </div>
                        <!-- Modal -->
                        <div  id="myModal2" class="modal hide fade">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                                <h3>修改标签</h3>
                            </div>
                            <div class="modal-body">
                                <form class="form-horizontal">
                                  <label class="control-label" for="inputEmail">标签名称</label>
                                   <input type="text" id="m_tagname"/>
                                   <input type="hidden" id="m_tagid"/>

                                    <label class="control-label">描述信息</label>
                                    <textarea rows="3" id="mtag_desc"></textarea>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <a href="javascript:void(0)" onclick="grid.winclose()" class="btn">关闭</a>

                                <a href="javascript:void(0)" onclick="grid.updatetagform();" class="btn btn-primary">保存</a>
                            </div>
                        </div>
                        <!-- Modal end -->

                    </div>
                </div>
                <script language="JavaScript">
                    var weburl = '<?php echo @constant('WEBSITE_URL');?>
';
                </script>
                <script src="<?php echo @constant('WEBSITE_URL');?>
public/js/tags/tag.js"></script>

                <!-- 实际写文章内容的布局结束-->
            </div>
        </div>
        <!-- END 以下内容不需更改，请保证该TPL页内的标签匹配即可 -->
<?php echo $_smarty_tpl->getSubTemplate ("admin/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>